<template>
  <div class="content">
    <div class="all2"></div>

    <div class="acenter">
      <LImage class="image" :src="config.img(image ? image : images[type])"></LImage>
    </div>
    <text class="font30 text1 text">{{text ? T(text) : T(texts[type])}}</text>

    <div class="all3"></div>
  </div>
</template>

<style src="@/_css/style.css" ></style>
<style scoped>
.content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding-left: 40px;
  padding-right: 40px;
}
.image {
  width: 433px;
  height: 283px;
  margin-bottom: 50px;
}
.text {
  text-align: center;
}
</style>

<script>

//功能
import config from "@/_js/config";
export default {

  //变量
  data() {
    return {
      config:config,
      texts:{'noData':'暂无数据'},
      images:{'noData':'collection_img_black.png'},
    };
  },

  //释放前
  beforeDestroy() {
  },

  //渲染前
  created() {
  },

  //外部传参数
  props:{
    text:String,
    image:String,
    type:{
      type:String,
      default:'noData',
    },
  },

  //方法
  methods: {
  },
};
</script>
